package com.neuedu.advance.myfinal;

/**
 * @author 金山
 * 项目：javase
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2024/10/1811:02
 */
public final class MyFinalClass {


    public static  final  double PI = 3.1415;


    public static void main(String[] args) {
        System.out.println("MyFinalClass.PI : "+MyFinalClass.PI);


        //final 变量不可以被修改
        // MyFinalClass.PI = 4.11111;


        sum(1,2);
    }


    public static int sum(final int numa, int numb){
        // numa = 100;

        final int max = 100;

        // max = 200;


        return numa + numb;
    }



}
